function block = de2bi_com(block, flag)
  //block.ipar(1) is number of bit
  if flag == 1 then 
    bitNum = block.ipar(1);
    bits = de2bi(block.inptr(1), bitNum);  //convert symbol to bits
    block.outptr(1) = bits'; //convert bits to symbols
  end
endfunction

